//
//  Reward.hpp
//  ballvsblock
//
//  Created by 宋志京 on 2017/6/15.
//
//

#ifndef Reward_hpp
#define Reward_hpp

#include "cocos2d.h"
USING_NS_CC;

class Reward:public cocos2d::Node{
public:
    CREATE_FUNC(Reward);
    virtual bool init();
    void setNum(int n);
    void hit();
    float getRewardWidth();
    int count = 1;
private:
    Sprite* reward;
    Label* countLabel;
};

#endif /* Reward_hpp */
